// 导入定义验证规则的包
const Joi = require("joi");
const type = Joi.number()
  .integer()
  .min(1)
  .required()
  .error(new Error("请填写图片的type类型"));
  const is_ben = Joi.any()
exports.reg_type_schema = {
  query: {
    type,
    is_ben
  },
};
